﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 检查报告信息表
    /// </summary>
    public partial class ReportExamInfo
    {
        /// <summary>
        /// 主键ID;主键ID
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 患者ID;患者ID
        /// </summary>
        public string PatientId { get; set; } = null!;
        /// <summary>
        /// 患者类型;患者类型：01 门诊 02 住院 03 急诊 04 体检
        /// </summary>
        public string PatientType { get; set; } = null!;
        /// <summary>
        /// 就诊流水号;门诊挂号流水号、住院流水号
        /// </summary>
        public string VisitNo { get; set; } = null!;
        /// <summary>
        /// 患者姓名;患者姓名
        /// </summary>
        public string PatName { get; set; } = null!;
        /// <summary>
        /// 住院号(门诊号);住院号(门诊号)
        /// </summary>
        public string HospNo { get; set; } = null!;
        /// <summary>
        /// 卡号;卡号
        /// </summary>
        public string? CardNo { get; set; }
        /// <summary>
        /// 床号;床号
        /// </summary>
        public string? BedNo { get; set; }
        /// <summary>
        /// 医院名称;医院名称
        /// </summary>
        public string? HospitalName { get; set; }
        /// <summary>
        /// 院区ID;医院ID
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 报告编号;报告编号
        /// </summary>
        public string ReportNo { get; set; } = null!;
        /// <summary>
        /// 报告类型;报告类型(CT、放射、内镜等)
        /// </summary>
        public string? ReportType { get; set; }
        /// <summary>
        /// 报告类型名称;报告名称
        /// </summary>
        public string? ReportTypeName { get; set; }
        /// <summary>
        /// 申请单Id
        /// </summary>
        public string? ApplyId { get; set; }
        /// <summary>
        /// 申请科室编码;申请科室
        /// </summary>
        public string? ApplyDept { get; set; }
        /// <summary>
        /// 申请科室名称;申请科室名称
        /// </summary>
        public string? ApplyDeptName { get; set; }
        /// <summary>
        /// 申请病区编码;申请病区
        /// </summary>
        public string? ApplyWard { get; set; }
        /// <summary>
        /// 申请病区名称;申请病区名称
        /// </summary>
        public string? ApplyWardName { get; set; }
        /// <summary>
        /// 申请医生编码;申请医生ID
        /// </summary>
        public string? ApplyDoctor { get; set; }
        /// <summary>
        /// 申请医生名称;申请医生名称
        /// </summary>
        public string? ApplyDoctorName { get; set; }
        /// <summary>
        /// 申请时间;申请时间
        /// </summary>
        public DateTime ApplyTime { get; set; }
        /// <summary>
        /// 检查部位;检查部位
        /// </summary>
        public string? ExamSite { get; set; }
        /// <summary>
        /// 检查方式;检查方式
        /// </summary>
        public string? ExamMethod { get; set; }
        /// <summary>
        /// 影像号;影像号
        /// </summary>
        public string? RaditeNo { get; set; }
        /// <summary>
        /// 检查科室编码;检查科室
        /// </summary>
        public string? ExamDept { get; set; }
        /// <summary>
        /// 检查科室名称;检查科室名称
        /// </summary>
        public string? ExamDeptName { get; set; }
        /// <summary>
        /// 检查时间;检查时间
        /// </summary>
        public DateTime ExamTime { get; set; }
        /// <summary>
        /// 检查医生编码;检查医生ID
        /// </summary>
        public string? ExamDoctor { get; set; }
        /// <summary>
        /// 检查医生名称;检查医生名称
        /// </summary>
        public string? ExamDoctorName { get; set; }
        /// <summary>
        /// 报告时间;报告时间
        /// </summary>
        public DateTime ReportTime { get; set; }
        /// <summary>
        /// 报告医生;报告医生
        /// </summary>
        public string? ReportDoctor { get; set; }
        /// <summary>
        /// 报告医生名称;报告医生名称
        /// </summary>
        public string? ReportDoctorName { get; set; }
        /// <summary>
        /// 报告审核时间;报告审核时间
        /// </summary>
        public DateTime? AuditorTime { get; set; }
        /// <summary>
        /// 报告审核医生;报告审核医生
        /// </summary>
        public string? AuditorDoctor { get; set; }
        /// <summary>
        /// 报告审核医生名称;报告审核医生名称
        /// </summary>
        public string? AuditorDoctorName { get; set; }
        /// <summary>
        /// 报告Url地址;报告Url地址
        /// </summary>
        public string? ReportUrl { get; set; }
        /// <summary>
        /// 检查意见（提示）;检查意见
        /// </summary>
        public string? ExamVerdict { get; set; }
        /// <summary>
        /// 检查诊断;检查诊断
        /// </summary>
        public string? ExamDiag { get; set; }
        /// <summary>
        /// 检查所见;检查所见
        /// </summary>
        public string? ExamDescript { get; set; }
        /// <summary>
        /// 危机值标志;危机值标志
        /// </summary>
        public int? CriticalFlag { get; set; }
        /// <summary>
        /// 危机值内容;危机值内容
        /// </summary>
        public string? CriricalContent { get; set; }
        /// <summary>
        /// 报告状态;报告状态(0 作废 1审核 )
        /// </summary>
        public int? ReportStatus { get; set; }
        /// <summary>
        /// 接收时间戳;接收时间戳
        /// </summary>
        public long? ReceiveTime { get; set; }
        /// <summary>
        /// 异常标志 0-正常 1-异常
        /// </summary>
        public byte? AbnormalFlag { get; set; }
    }
}
